package com.bionic.banking.dao;

import com.bionic.banking.core.entity.BankAccount;
import com.bionic.banking.core.entity.Customer;
import java.sql.SQLException;
import java.util.List;

public interface ICustomerDao extends AbstractDao<Customer> {

    List<Customer> findByUserid(int userid) throws SQLException;
    
    List<Customer> findByFirstNameAndLastName(String firtsname, String lastname) throws SQLException;

    List<Customer> findByEmail(String email) throws SQLException;

    List<BankAccount> findBankAccounts() throws SQLException;
}
